#ifndef __FLASH_PORT_H__
#define __FLASH_PORT_H__


#include "stdint.h"

int flash_port_erase(uint32_t addr, size_t size);
int flash_port_read(uint32_t addr, uint32_t *buf, size_t size);
int flash_port_write(uint32_t addr, const uint32_t *buf, size_t size);

#endif
